package com.activiti.controller;

import com.activiti.service.ActivitiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * Created by oracle on 2017-03-12.
 */
@Controller("/workActiviti")
public class ActivitiController {
    @Autowired
    ActivitiService activitiService;

    @RequestMapping("/testActiviti")
    public void testActiviti() {
        activitiService.testActivity();
    }
}
